package com.by.bean;

import com.by.common.group.IUpdate;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.sql.Time;

/**
 * @author:
 * @date: 2025/2/17
 * @version: 1.01
 * @since: jdk11
 */
@Data
@ApiModel("货物信息表")
public class CargoloadBean {
     @ApiModelProperty("修改时ID不能为空！")
     @NotEmpty(message = "id不能为空！", groups = {IUpdate.class})
     Integer id;
     @ApiModelProperty("货物类型")
     @NotEmpty(message = "type不能为空！")
     String type;
     @ApiModelProperty("运输方式")
     @NotEmpty(message = "shipmethod不能为空！")
     Integer shipmethod;
     @ApiModelProperty("路线")
     @NotEmpty(message = "shipmethod不能为空！")
     Integer route;
     @ApiModelProperty("航次")
     String voyage;
     @ApiModelProperty("航次开始时间")
     String againtime;
     @ApiModelProperty("起始港口")
     String againport;
     @ApiModelProperty("结束港口")
     String endport;
     @ApiModelProperty("报价条款")
     Integer article;
     @ApiModelProperty("货物描述")
     String description;
     @ApiModelProperty("HS编码")
     Integer HSencode;
     @ApiModelProperty("柜型选择")
     Integer cabtype;
     @ApiModelProperty("产品编号")
     Integer numbering;
     @ApiModelProperty("逻辑删除状态值")
     Integer isdel;
}
